package com.TeacherInfoServer.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "类型信息表")
@TableName("type_info")
public class TypeInfo {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("value")
    private String value;

    @TableField("name")
    private String name;

    @TableField("category")
    private String category;
}
